/*
 * File:   NodeTreeTest.h
 * Author: KENNJI
 *
 * Created on Mar 26, 2013, 2:02:14 PM
 */

#ifndef ZIPNODETEST_H
#define	ZIPNODETEST_H

#include <cppunit/extensions/HelperMacros.h>

class ZipNodeTest : public CPPUNIT_NS::TestFixture {
    CPPUNIT_TEST_SUITE(ZipNodeTest);

    CPPUNIT_TEST(itShouldAddANodeToBranches);
    CPPUNIT_TEST(itShouldReturnNullWhenTheSearchDoesNotFindASpecificNode);
    CPPUNIT_TEST(itShouldReturnAPointerWhenTheSearchEngineFindsASpecificNode);
    CPPUNIT_TEST(itShouldReturnTrueIfTheNodeNameExists);
    CPPUNIT_TEST(itShouldReturnFalseIfTheNodeNameDoesNotExist);

    CPPUNIT_TEST_SUITE_END();

public:
    ZipNodeTest();
    virtual ~ZipNodeTest();
    void setUp();
    void tearDown();

private:
    void itShouldAddANodeToBranches();
    void itShouldReturnNullWhenTheSearchDoesNotFindASpecificNode();
    void itShouldReturnAPointerWhenTheSearchEngineFindsASpecificNode();
    void itShouldReturnTrueIfTheNodeNameExists();
    void itShouldReturnFalseIfTheNodeNameDoesNotExist();
    void createTree();
};

#endif	/* NODETREETEST_H */

